<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2024/9/13
  Time: 上午9:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>声明变量和方法</title>
</head>
<%!
    public int count;

    public String ibfo(){
        return "hello";
    }
%>
<body>
<%
    out.println(count++);
%>
<br>
<%
    out.println(ibfo());
%>
</body>
</html>
